package com.aspose.cells;

import java.util.HashMap;

class zcba extends zcdb {
   zcba() {
      this.d = 60;
   }

   void a(Column var1, int var2, int var3, HashMap var4) {
      this.c = new byte[18];
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.getIndex()), 0, this.c, 0, 4);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var2), 0, this.c, 4, 4);
      boolean var5 = false;
      int var8;
      if (var1.getWidth() >= 1.0D) {
         var8 = (int)(var1.getWidth() * 256.0D + (double)var3 + 0.5D);
      } else {
         var8 = (int)(var1.getWidth() * (256.0D + (double)var3) + 0.5D);
      }

      System.arraycopy(com.aspose.cells.b.a.zc.a(var8), 0, this.c, 8, 4);
      int var6 = (Integer)var4.get(var1.c() == -1 ? 15 : var1.c());
      System.arraycopy(com.aspose.cells.b.a.zc.a(var6), 0, this.c, 12, 4);
      int var7 = 0;
      if (var1.isHidden()) {
         var7 |= 1;
      }

      if ((var1.b() & 255) > 0) {
         var7 |= (var1.b() & 255) << 8;
      }

      if (var1.g()) {
         var7 |= 4096;
      }

      var7 |= 2;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var7), 0, this.c, 16, 2);
   }
}
